package com.gary.spider;

import java.util.ArrayList;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class Test {
	public static void main(String args[]) {
		ExecutorService exe = Executors.newFixedThreadPool(5);
		for (int i = 0; i < 5; i++) {
			exe.execute(new Gather(String.valueOf(i)));
		}
		exe.shutdown();
	}
}
